/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: CapitalProfitDAOImpl.java
 * @PageName		: 자금 수지 - 당월
 * @Date			: 오후 3:01:57
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.dao.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.management.dao.CapitalProfitDAO;
import com.pulp.management.model.CapitalProfitInfo;

/**
 * @author 최경민
 * 
 */
public class CapitalProfitDAOImpl extends SqlMapClientDaoSupport implements CapitalProfitDAO {
	public CapitalProfitDAOImpl() {
		System.out.println("CapitalProfitDAOImpl==============");
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.dao.CapitalProfitDAO#getCombinationChartList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<CapitalProfitInfo> getCombinationChartList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.CombinationChartList", mapArgs);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.pulp.management.dao.CapitalProfitDAO#getTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<CapitalProfitInfo> getTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.TableList", mapArgs);
	}

}
